Skip to content

Add KDoc documentation to BackgroundSize.kt#55318

Closed
mdvacca wants to merge 3 commits into
react:mainfrom
mdvacca:export-D91554301
Closed

Add KDoc documentation to BackgroundSize.kt#55318
mdvacca wants to merge 3 commits into
react:mainfrom
mdvacca:export-D91554301

Conversation

@mdvacca

@mdvacca mdvacca commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

Summary:
Added comprehensive KDoc documentation to BackgroundSize.kt classes and methods:

  • BackgroundSizeLengthPercentage: Documented class purpose, properties (x, y), and methods (isXAuto, isYAuto, parse)
  • BackgroundSize sealed class: Documented the sealed class hierarchy and LengthPercentageAuto subclass
  • Companion object parse methods: Added parameter and return documentation

This improves code readability and provides better IDE support for developers.

changelog: [internal] internal

Reviewed By: lenaic

Differential Revision: D91554301

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 27, 2026
@facebook-github-bot facebook-github-bot added p: Facebook Partner: Facebook Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Jan 27, 2026
@mdvacca mdvacca force-pushed the export-D91554301 branch 2 times, most recently from 5ea9842 to cdc8f07 Compare January 27, 2026 16:16
Summary:
Added comprehensive KDoc documentation to the UIManagerType annotation class and its companion object constants. This improves code readability and provides better IDE support for developers working with UIManager types.

The documentation explains:
- The purpose of the annotation (distinguishing between legacy and Fabric UIManager)
- Each constant (DEFAULT, LEGACY, FABRIC) and their use cases
- Deprecation notes for the DEFAULT constant

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D91553347
Summary:
Added KDoc documentation to the ViewUtil object and its NO_SURFACE_ID constant. The existing function documentation was already present.

The documentation explains:
- The purpose of the ViewUtil object (utilities for determining UIManager type)
- The NO_SURFACE_ID constant and its usage as a placeholder for legacy UIManager

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D91553498
Summary:
Added comprehensive KDoc documentation to BackgroundSize.kt classes and methods:

- BackgroundSizeLengthPercentage: Documented class purpose, properties (x, y), and methods (isXAuto, isYAuto, parse)
- BackgroundSize sealed class: Documented the sealed class hierarchy and LengthPercentageAuto subclass
- Companion object parse methods: Added parameter and return documentation

This improves code readability and provides better IDE support for developers.

changelog: [internal] internal

Reviewed By: lenaic

Differential Revision: D91554301
@react-native-bot

Copy link
Copy Markdown
Collaborator

Closing as this has been merged in 5585ca4

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants